<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="#FF0000">
    <van-swipe-item v-for="item in bannerListData" :key="item.id">
      <img :src="item.imgUrl" alt="" />
    </van-swipe-item>
  </van-swipe>
</template>

<script setup>
import {ref,reactive} from "vue"
import { defineProps } from 'vue';
 
const props = defineProps({
 bannerListData: Object
})

</script>

<style lang="scss" scoped>
.my-swipe {
  margin-top: 10px;
  img {
    width: 100%;
    height: 180px;
  }
}
</style>
